package org.test.boot.rocketmq.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "mq")
public class MqProperties {
    private String topic;

    private String userTopic;

    private String orderPaidTopic;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }


    public String getUserTopic() {
        return userTopic;
    }

    public void setUserTopic(String userTopic) {
        this.userTopic = userTopic;
    }


    public String getOrderPaidTopic() {
        return orderPaidTopic;
    }

    public void setOrderPaidTopic(String orderPaidTopic) {
        this.orderPaidTopic = orderPaidTopic;
    }
}
